package com.work.formaldehyde.model;

import java.util.List;

public class HourModel {
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }


    public HourModel.data getData() {
        return data;
    }

    public void setData(HourModel.data data) {
        this.data = data;
    }

    public String code;// 1,
    public String msg;// success,
    public data data;// {
    public String url;
    public String wait;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getWait() {
        return wait;
    }

    public void setWait(String wait) {
        this.wait = wait;
    }

    public class data {
        public HourModel.sun getSun() {
            return sun;
        }

        public void setSun(HourModel.sun sun) {
            this.sun = sun;
        }

        public List<HourModel.hours> getHours() {
            return hours;
        }

        public void setHours(List<HourModel.hours> hours) {
            this.hours = hours;
        }

        public sun sun;
        public List<hours> hours;
    }

    public class sun {
        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getSunrise() {
            return sunrise;
        }

        public void setSunrise(String sunrise) {
            this.sunrise = sunrise;
        }

        public String getSunset() {
            return sunset;
        }

        public void setSunset(String sunset) {
            this.sunset = sunset;
        }

        public String date;// 2020-01-14,
        public String sunrise;// 07;//50,//日出
        public String sunset;// 18;//15//日落
    }

    public class hours {
        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTemperature() {
            return temperature;
        }

        public void setTemperature(String temperature) {
            this.temperature = temperature;
        }

        public String getAqi() {
            return aqi;
        }

        public void setAqi(String aqi) {
            this.aqi = aqi;
        }

        public String getQuality() {
            return quality;
        }

        public void setQuality(String quality) {
            this.quality = quality;
        }

        public String time;// 14;//00,//时间
        public String temperature;// 12,//温度
        public String aqi;// 22,//空气质量指数
        public String quality;// 优//空气质量
    }
}
